package com.xxtx.trade.notice.enums;

/**
 *  系统管理系统错误码
 */
public enum EnumsError {
    /**
     *  系统公告 常量
     */
    NOTICE_READLIST_ERROR(40001,"公告查询初始化失败"),
    NOTICE_DELETE_ERROR(40002,"公告删除初始化失败"),
    NOTICE_INSERT_ERROR(40003,"公告增加初始化失败"),
    NOTICE_SERVICEREAD_ERROR(40004,"公告service查询失败，请检查入参"),
    NOTICE_SERVICEDELETE_ERROR(40005,"公告service删除失败"),
    NOTICE_SERVICEINSERT_ERROR(40006,"公告service增加失败，请检查入参"),
    NOTICE_TITLENULL_ERROR(40007,"公告标题为空");


    private int code;
    private String desc;

    EnumsError(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
    public String getDesc() {
        return desc;
    }
}
